package com.dog.modules.iot.mqtt.consumer.dispatcher;

import lombok.Getter;

import java.lang.reflect.Method;
import java.lang.reflect.Type;

/**
 */
@Getter
public class CmdExecutor {

    /**
     * 方法
     */
    private final Method method;
    /**
     * 参数
     */
    private final Type[] params;
    /**
     * cmdController实例
     */
    private final Object handler;

    public CmdExecutor(Method method, Type[] params, Object handler) {
        this.method = method;
        this.params = params;
        this.handler = handler;
    }
}
